<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>{$webname}</title>
	<script>
		alert("{hd:$hello}");
		alert("baidu")
	</script>
</head>
<body>
	{literal}
		{abc}
	{/literal}
	{hd:if $age>20}
		大于20的人
	{hd:else}
		小于20;
	{hd:/if}
	<h1>{hd:$webname.name.tel}</h1>
	<h3>{hd:$smarty.session.uname|substr_d:0:6|toUpper}</h3>
	<h3>{hd:$smarty.get.page}</h3>
	<h3>{hd:$smarty.const.APP}</h3>

</body>
</html>